package com.platform.study.logger.impl;

import com.platform.study.logger.ILogger;

import org.apache.log4j.Logger;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 12-11-5
 * Time: 下午3:22
 * To change this template use File | Settings | File Templates.
 */
public class DebugLogger implements ILogger {

    private static Logger logger;

    public DebugLogger(Class clzss) {
        logger = Logger.getLogger(clzss);
    }

    /**
     * 输出消息
     *
     * @param message 消息
     */
    @Override
    public void print(String message) {
        logger.debug(message);
    }
}
